Update mx to comply with shellcheck