Clean up some debugging code in the scripts.