add checkshutdown script