updated parser for synonym commands