Added avg calculation to URL's