How can I make an applescript run when I change Space?

Is there a way to make an applescript (to change the desktop picture) run when I change to a particular Space?