Repair objects v2. (+script)

 From:  Andrei Samardac
5931.7 In reply to 5931.6 
you are welcome)