simplified handling of environment variables and also fixed handling of SKYDNS_NAMESERVERS environment variables as well as the -machines parameter