changes to open and close the gripper