revised fedora20 example
added optional parameters to prettify can be called via batch.