added SCall() for accessing script-local functions