repeated the file writing step with folivores and carnivores. saves repetition, although overall structure still needs some cleaning up
added functionality to run MARK_analyses.r as a function directly in the rodent_wrapper.r code.