added location as mandatory parameter instead of affinity group