as of now, you get an error if the scratch geodatabase exists. I could either delete it at the end of the code or rename it, if it exists, at the beginning of the code - if we want to preserve the scratch contents for further inspection. there may be value in it. ?