add the shutdown graceful script