updated run.js