remove bad script cmd