major bug where trigger settings were being sent out of order and ignored, it is fixed for now, but has too much code duplication