add missing pool handling to DS
Merge pull request #2693 from birarda/master

add missing pool handling for scripts to DS