fixed php short tags and changed php requires to includes