moved example script to examples directory