Add rrun, update format_sql_block.pl