Rewrote Optimask to use eval (here the play function.)