Add version switch, Close #12