Fixed escaping of the special characters in the environment variables