Added some stuff for miles graphs