script now watches for messages in logs