spawn.js added console.log