Correct the project save hook that creates templates