Rolling back and chaning script