nZEDbetter-46 Fix autopatcher and patchmysql scripts