Script to patch wim-files