conversion to integrate php includes