[optimize script] renamed minify arg to prettyprint

which makes a more sensible default. defaults to false if not set.