cut_and_shuffle script