Use env context manager