The following input first optimizes the transition state, and then performs reaction path calculations in both directions. The results are plotted.
hcn_isomerization.com
This produces the plots