adding init functionality to the character chooser script