add conditional statements to benchmark commands (issue #6)