added leak notify and motion notify scripts