commands are now submitted via AJAX