small fixes in example scripts