fix require_once errors - ensure that directory of file is explicit by using __DIR__