Fix script location issues.