replaced return with os.Exit(2)