moved remainder of setting parameters to os.getenv