Added try/catch in run