added support for multiple domain instances simultaneously and a new config with custom made actions