Update rebuild.js