I am running an algorithm to create a pdf file and then save it to a specified file. This works just fine. The issue is that, whenever I need to edit code (soon after this process has been run), I always need to hit the little stop button to reset the code. Is there a way to do this so that the code resets after the process has been run?