State bug and support env vars on install