final changes to load script