Adding final clean run code