Change how resource local domain checking works. Fix resource index params for alternative formats