updated brainweb to accept caps