Add the option to include and exclude attributes

See README.md for a description of the new options.