Reduced repetition of url construction  code + removed redundant ending "pipes="