New function cleanName

Function to clean the flags name, calls function to remove exclamation
and replace dash with underscore.