More template project file fixes