Added a printf statement to generateSpawn event to print out the string
obtained from config file