Tidy up the whitespace in the generated line, add a comma