reinjecting print class after binding writer and config