Trying to prevent the script from exiting normally