Multiple runs functionality added