Add boolean to check if runLocal on genStats
Clean up code
Move initVertex to first iteration
change to correct conf