now use environment variable to find data directory