now with working sqldump (tested!)