build and switching to php includes