Rather painfully hacky rough redirlarm implementation