update to shutdown script