making the default unit kms and adding the :miles option