add multiple input functionality for bammarkduplicates