use abort instead of 'print "sometext" ; exit 1'