Updating example from latest.
This script is NOT complete or working; uploading it to share it with other.