Issue when changing default data and log directory