scriptAPI added