Replace hard-coded urls with reversing