added print function
no more crosswalk call for local
created localVersion variable to switch between local and database
Merge pull request #154 from jpecht/master

created localVersion variable to switch between local and database