added shutdown scripts