add options, -p(retty) and -v(erbose)