Update initializer.rb

Per Leon, to catch '-' character's in profile names as they are not allowed.
Merges fix for generated profile names