improving on homepage python script and modifying app.yaml to take into account various library