Updated to support multisite Wordpress environments