Fix usage of env