set permissions of template to 0755