Allow customization of url_prefix and port