Added auto-refresh code of 10 seconds