Added getenv and setenv