Moved file template installation from priviledged script to a new build phase