Add data directory to environment variable