Repair objects v2. (+script)

 From:  Andrei Samardac
5931.15 In reply to 5931.14 
Good illustration)