script path error fix