Changes to allow loading values from env file for miner