path find script