Use evalsha instead of eval
Refactor add running and error list