added ros version switch