restarting agent when error isnt from actions adding more tests
contents seems to run always ignoring facts selection reverting to facts