Changes made to accept DP_VERSION as parameter