added parser for do command, removed errors