Switched temporarily from yargs to optimist as yargs is having a blocking bug.