Added try catch to setup.