Fix script source locations