Fixed pom file breaking config generation, moved config value loading
out of event handler.