added a script to periodically dump redis