Update masks (new script).