Adding configurable data directory option.