add var and Doc directory