Changed urls to env setting