Changes to API Demo Scipts 2