consolidated configuration in main, replace print by announce