path changes for template directory
more changes to the way template paths work