More flexible url-builder