updated example readme and code to work as downloaded