Fixed an the exitcode thing in the filerunner and made the necessary modifications to fomautomator