Restrict snow to mask

Hi

I am trying to have the falling snow in this script (http://www.kirupa.com/developer/mx/snow.htm) appear behind a mask layer. Can someone help?

Thanks!