custom kill script extended