Forked and Added Smarty Indenter and Convert Return Code