modified for single VM multi site installation