Added php mode