Made changes necesarry for mounting data dir as a docker volume