Render to html by default
Make this Python 2.x compatible
Re-order