Use dll path to get bin path
Add some comments