Fix broken script references