updated functions and settings file - prepping for new PHPDocX