make it easy to change the template from a php handler