Outputs the correct URLs