changed faulty script