Optimizations for wearscript version