update shutdown.sh