delete unused script
add example script
update example
adding doc comments