Updated the termination script for trell.