swipe script