updated for appengine 1.9.1 sdk