Placed dispatcher init in the right place

so it runs on each iteration