Replace string building with format()

Use the format() method for increased readability when constructing strings