Fix some erros in script and defconfig