added support for setting ses region