clearTimeout when error too
cleaned up logs and runs_dir variable
upped version for bug fixes