Fixes for name cleanup

2 fixes for the name clean up functionality
1) Cleaned up the script that is in the misc directory
2) Fixed a bug that was causing releases to be marked as updated when they shouldn't have been.