Make data path more configurable and fix race condition in muni import