scripts for orchestrated shutdown