A pace keeping script