script can now transition to next type of trial when finished with CV trials