move the built header inclusion to the cfg file on Groovy