adding vth code as well as aaf and cert config