Changed REFRESH_INTERVAL from 5000 to 1000