add bin for determining the path
add the public dir