Added convenience variables for references resource paths
Add template folder, print paths if debug = true