Redis attachments cleanup script