Update app to use Python 2.7

Note that this doesn't fully work yet.