changes to accommodate use with divergent store site and host names