Fixed silly ; bug in env2file and added -server/-var for lookups in configs