[add perl scripts]

* clean lib dependencies