Add before/after remove scripts to packaging.