Eluna cmd hook and cleanup