added link and directory