support for format, app as agent, fixes to arabic, arethusa test file