cleaned remove-script