check if miner is running from miner_status file, not grep ps
improved requires statements