#472 Moved messenger config to separate method
#472 Fixed call for md export