add location_custom_cfg_prepend support