Add missing exit()'s