fix precisemedia URLs in cassettes
update env vars