added sites selection logic and controls