fix EOL in scripts
fix issue 121: specify archive dir