make sure to set the variable on each iteration
clean logs while testing
merged job
Revert "merged job"

This reverts commit c63cb1ed8f46ab7f2596031a91651d7c6694046b.
fixes #62 #56