Some fixes to the mobgenerator-file