another sample script contributed by twister user