script path fix