adding version checking for ubuntu with package platform