changes to add data directory