fp/add: Add process and output lines reworked in add_directories