server now decides what command to do