breaking apart commands properly