reworked - added php includes