use gnappy env var to dictate mode