Removed some vestigial variables, and fixed error with url