adds support for custom upload URLs