added support for USE_RAR