Added example script; Added shutdown destructer
merge