Added support for a multisite installation.