Switched shell syntax to Obj-C