bind behavior node functions with script functions.