Setconfig

move environment parameters to config file