Added bin/fix-attachments.sh