Set knowledge resource to be the knowledge directory