added hosted domain parameter