added callback support for sc_web