added autogenerated web2py code