Just for about 2 weeks, I restarted the script, and for 1 week there was a lapse, 2 days the script didn't work. Hoppefully it will getting better :)
I'm still working on it.
@ajier39 seems to be OK. The script records SP of each voting user, and in the table is shown the average SP amount last 7 days. Therefore, if a user had some delegated SP and then the delegation was revoked, then SP in the table will decrease slowly.