polishing the environment variables part