added usage of listCom in macosx