Fixed exit for trecs binary