Another fix to kill script.