The light functions need 'my.cast = on;' if I remember well.