Dr Jones fligth to Venice in his Last Crusade

I try adding gmt events -Rd -JG${MOVIE_COL0}/${MOVIE_COL1}/15c "temp_timefile.txt" -Ar100c > temp_line_points.txt in main.sh but at the end of the movie, the start of the lines goes north (to the Bering Strait).

cat << 'EOF' > main.sh
gmt begin
    gmt coast -Rd -JG${MOVIE_COL0}/${MOVIE_COL1}/15c -Bg0 -Yc -Xc -Da -G200 -Sdodgerblue2 -N1/0.2,-
    gmt events -Rd -JG${MOVIE_COL0}/${MOVIE_COL1}/15c "temp_timefile.txt" -Ar100c > temp_line_points.txt
    gmt events temp_line_points.txt -Ar -T${MOVIE_COL2} -Es -W2p,red
gmt end