modify script for init script and add korean keypad