Added add_nonexisint flag to addToEnv.