Support batch import in multi-site setup

Resolves #3