Ad method to automatically choose to use pbis or ds