Updated to use url.get() instead of geturl()