Added a bunch of php stuff :)