Debugging
Switch to async.eachSeries
Remove debugging
Remove flags arg
More debugging removed