Add TEMA exit

Signed-off-by: Mark Tompkins <mtompkins@firmusgrp.com>
Hack repush

Signed-off-by: Mark Tompkins <mtompkins@firmusgrp.com>