added options for stripping metadata and toggling threads