Added extra parameters to format strings to work in python 2.6