simplify script finding