update init script for collector