add cap directories