Improved interaction with scripting bridge (hopefully increasing performance)