Made a minor correction in registry script