Adding code for song_frequency.db