script to publish a traj with a few points