Trying to fix problem with environment variables