a test flowmeter script