a few tweaks to use more updated GAE SDK