Changed require to require_once to stop issues with redeclare xmldiff errors