Moved configuration of bclose to separate file