Make new exec function in global api.