Updated Script and Example