Further overhaul on getenv/putenv/setenv stuff