Improved example script, added standard doc footer.