Creating weight (or other attribute) based php callouts.