Updated code to run gripper on motor 4