Sorted out the problem: not creating symbolic links with the masks, because they already existed, however the mask could have changed along the time and the symbolic link must be remade to a new file. The solution --> Now it copies the mask and overwrites it if it already exists.