updated clean down script