added third argument handling to -b; bookmarks that directory if it exists