update rebuild-Script for testing