updated gesture script