Fix env script.