Script to generate trajectory chunks completed.