Fix env requires