script to set as place.term the categories.term (one cartegory per term)