Pass environment through to orders