Changes to make a common script for running oscilloscope.