use a better scheme for making long commands
clean up mysqlcmds