Added main try/catch to see errors