Cleanup
- fix bug in pushMessagesToRabbit script when only static flag is active