cubescript safe context support