JBTM-2272 fix to add doPrivilidged blocks

!BLACKTIE