now works with virtual sites