Script for distance interval DONE (Mads helped very much, much fun)