Add script for 'trajectory.list' function