Revert "use script directory instead of bin"

This reverts commit 966e35a83705b0a39c2439264149069f1249433a.