fix some typos
alternate z commands
add H and M commands