I've updated this script to use async.js and process.argv and process.exit( 0 | 1 ) to behave more command line-y