sync script for alerts->mongo