Switched from optimist to minimist for arg parsing.