use minimist for arg parsing