Replace hard-coded urls