add --2.0 flag support, closes #1826