`chmod` and `getenv` are unused imports, would you mind removing them?