Write out position-commands