Shuffle script mostly working