Addapt code for pythonAnywhere