Added code to generate names and some other things.