complete new init script for aggregator