Updated shell script to run miner at launch