more cleanup in dp prep script