Adding some stuff to make the miles graph semi-work