Rename the mask you want to mask.png and put it in the same directory as this script. Put the texture pack you want to use in the same dirrectory and name it deafault. Then run the script! Warning: This script is still in beta.
Unzip the deafault.rar as your default textures.