fix #11371: delete script instead of whole script directory
Merge pull request #1448 from mtbc/rebased/develop/delete-script-11371

fix #11371: adjust script delete to target specific script file name (rebased onto develop)