@Cassius i came across that indeed, but it din't work.
What i did was have my layer with my mask path on it, Then apply the script and select shape to layer and i got this error:
http://gyazo.com/569ba9ae929641888d7ccffa5501f3b8.png?1351530476
And the only think i modified is the Mask on itself
http://gyazo.com/b634f517a2686ce384bc6e9f5dd54483.png?1351530549
And then i tryed importing my mask path to a shape layer and trying everything again and i got this error.
http://gyazo.com/f0d32ff44facba24d13e8d6b068b4461.png?1351530640
And this is how i had everything selected.
http://gyazo.com/23f23171a521d95a704fd84eb26ee41f.png?1351530750
(...)