Continue to clean up input and output for child scripts.