added require_once and include_once to fix redeclare error