start miner and save script on provision