Added an environment variable, DATA_DIR, that is checked before the installation data directory is used.