prepare for the need for a data dir