add attachment handling and link title field