init cms env to get scram