get rid of unnecessary mcr in URL and get ari_code from PG delivery