updating to work with google app engine