moved config printing to init section