option handling for getData

in preparation for adding ptb mode