Fixes for php and stuff