Correct '{}' syntax to '{0}' in strings to accomodate older versions of python.