Moved all SQLs to mysqlscripts.js