copy-edit 8446cffc123f06252f90333700b7a6b0476a16d8 and refactor "set urls" into function