Inter Context Index generation and attachments functionality corrections