Fixed issue with data directory.