Added auto refresh every 5 second to html, though unsure if it should be done in the python script