Update run.js

Updated to work with C9