Fix script references (again)