removed 'exit' directives from goto to allow it to be executed in current shell