parse environment variables on command line