best method to set/unset environment variables