Added data output started to really work on multiple runs