config improved, need to fix lib path