add example listener, fix target-dir...