fixed run script construction in ext-job, was missing eol after creation of pid file