change default data and commit directory