Script2D cleanup