bugfixes and adaptation for farmout logs and dags moved to /nfs_scratch