updated the commands to operate the capfile