simple security system script to inform and log if doors, windows are opened/closed.