Updated script to include DM calls with subsetted data