small changes to `env` behaviour, going for real-time streaming