implement script feature to dataengine