replace return numbers with default constants
add manpage for mz tool