Moves the actual execution of measurements to separates script.