Script path fix