Pausing the cleanup() function in the script to debug