scope assignment run. bat and process.js modified