Fix an issue where printed lines would not contain the SQL 'UPDATE `smart_scripts` SET ...' line
Delete the output.sql file everytime before writing to it