script changes to fix registration references.