Perform a rebuild