add log alarm script