Update sampleExpectScript

Changed script to take input parameter