Merge pull request #4580 from solgenomics/topic/improve_delete_stock_script