Adding extension for attachments

drop the above two lines as they are covered in the previous mods, right?