startup and shutdown run in steps 0-9