add pipe and doc attachment