add capfile & related setting rb