Added try/except/pass functionality.