updated the code to support correct execution of simple.py
Merge branch 'master' of github.com:snap-stanford/snapr