add lib socket path and base files