get rid of os.putenv (refs #104)