Generate a correctly punctuated version of the following text: Although I had previously been determined not to leave Sweden the opportunity to do research full time in a mathematically very active environment was hard to resist
Although I had previously been determined not to leave Sweden, the opportunity to do research full time in a mathematically very active environment was hard to resist.