added -q and env var