add code to support both new, old and BOTH methods where for both the url is specified