Updated REBUILD.rb