attached files from MIRA with fixes for legacy thumbs and multiple dca data stores