Wrap your code in ymodules define statement