made greet and allgreet work appropriately