Added $cmlogs variable