add support for excludes. resolves #7.