enable "remove script button" when it should