Removed unused exit condition

Removed unused exit condition and old print outs.