env var in script, cleaning directory