Scripts and get track of which line is being executed, and at which
position of the map