Using a DB here seems like overkill to me and introduces a requirement for running the script that isn't typically available on our servers.