Added protocol to attachments
Added version to attachment paths