add additional flags

Add AD and CD flags