Derivative portal statistics script.

We should probably find a better way to test these than checking in commented out assignment sections.