replaced command fsm with new version