standardize base script invocation syntax
improve pretty printing