Fix local procedure script fetching.