adding script for adding trials