Script 'schedule': improve the form of loops in a tour sequence.