automatic deployer script