Added custom template for using php