Finally a working script

yay