Add forgotten template and fix permissions