trajectory-run in the script