Updated highstate to call the master with environments, instead of just the master