upgraded build process to move compiled templates