use basename to get_bin
Merge pull request #10 from lujb/start-from-absolute-path

use basename to get_bin