also put fetchLogs into runJob codeline