If I did this right, the plugin should now fill out statistic and category fields using two pre generated scripts.