Rewrote the script to use a database instead.