Revert "Revert "Turning the destroy step into a script rule""

This reverts commit d03cd8b2cb61b6aad4be691092247e602eaab051.