Fix xd.config.home to use XD_CONFIG_LOCATION

- Fix the scripts that use XD_CONFIG_LOCATION