script for jar gripping