more features for scripting support