Move the script contents into the bin script