apply vax custom code