fixed problems with environment variables in multiple lines