use profiles again intead of subtargets.