new clean log script