fix script lines