Modifying samplescirpt for testing.