Update rebuild.sh