Fix pre-stop scripts to only do logging