solve script path