Set up table for frequency, script to populate it