prepare for 'multiple php' template script