Properly set the paths for the loaded templates