integrated new function appserver_redefine