changing 'exit!' to 'exit 1'