add cap files and devise secret key