Added executeInternal method and added conf for explain keyword