Add an option for a shutdown script.

This allows users to specify a shutdown script so that servers can be cleanly stopped.