Import config function added. bar_vis added.