added attachment plugin