add python call to dashboard.html