fixed php args and updated syntax for coffee