mkd64_run() refactored for clarity/brevity