Rewrite printf and several format options