Change DEFAULT_ATTACHE_DIR to ATTACHE_DIR.
Add set -e flag.
Merge pull request #4 from reillysiemens/master

Change DEFAULT_ATTACHE_DIR to ATTACHE_DIR and add set -e flag.