fixing remove scripts