Removed redundant processurl function
tidier _setmetadata() function