Need to set templates directory as well when running from git