Minor fixes to URL upload