script to populate the timeline collection