Added emergency command to stop both trains