script and output for serial run.