diff --git a/Readme.md b/Readme.md
index 1d95867..dd1b4b1 100755
--- a/Readme.md
+++ b/Readme.md
@@ -25,6 +25,8 @@ Getting started
- You can also double check your database connection by going to the Jaspersoft Server, opening view > repository and navigating to public > samples > UrbanRoast > Data Sources. Now you can right click the "freshcoffee" data source and select edit to ensure that your Postgres username and password (default: postgres/postgres) is set. If your Postgres data port is different than the default you can change it here as well.
+ - If you want to setup application on local, replace all the instances of https://mobiledemo.jaspersoft.com to your own local JRS instance(e.g. http://localhost:8080 ).
+
- You can now run any of the main module pages, for example you can open the module3 folder and run cafe.html on your server. From there you can use the top right nav in the page to run any of the three finished modules.
- Keep in mind that module1 is broken up into three parts as we build, with the module 1-3 and locations.html as the finished result.
diff --git a/UrbanRoast-tutorial/modules/module1/1-1/javascripts/main.js b/UrbanRoast-tutorial/modules/module1/1-1/javascripts/main.js
index 6b0caec..051220c 100644
--- a/UrbanRoast-tutorial/modules/module1/1-1/javascripts/main.js
+++ b/UrbanRoast-tutorial/modules/module1/1-1/javascripts/main.js
@@ -1,13 +1,9 @@
var locations = ["5th Street Cafe","Belmont Street Cafe","Franklin Street Cafe","Main Street Roastery and Cafe"]
var selectedLocation = [];
-visualize({
- auth: {
- name: "jasperadmin",
- password: "jasperadmin",
- organization: "organization_1"
- }
-}, function(v) {
+initializeVisualize(initPage);
+
+function initPage(jrsConfig, v) {
var barChart = v.adhocView({
resource: "/public/Samples/FreshCoffee/Ad_Hoc_Views/Management/Net_Sales___Total_Cost_and_Gross_Profit",
container: "#bar",
@@ -28,4 +24,4 @@ visualize({
});
}
-});
\ No newline at end of file
+}
diff --git a/UrbanRoast-tutorial/modules/module1/1-1/main.html b/UrbanRoast-tutorial/modules/module1/1-1/main.html
index 2debf35..cda510c 100644
--- a/UrbanRoast-tutorial/modules/module1/1-1/main.html
+++ b/UrbanRoast-tutorial/modules/module1/1-1/main.html
@@ -46,8 +46,8 @@
crossorigin="">
-
+