Add semicolon after SQL statement and newline at the end of file