Made data directory configurable