fixing install/remove scripts