script for migration of genre names