Updated distance traveled threshold, fixed average speed, fixed storage command