add some layout markup. Fix python 3 support for deployment