swap conditional on dev packages