Changed spawn.js