removed a bunch of stuff I don't use
removed capfile stuff