Implemented redirect directive for HEXM