use environment var for data dir