optimist -> minimist
now with regtests