Updated script and created a demo page