Script to check for missing close events