change environment variable from isMaster to RSA_IS_MASTER