Adding Shutdown notification feature