Trying to call the package exit for two actions and it is not working as expected.