Conditional check rectified while setting  DP_VERSION and DEPENDENCIES v...

...ariable