chnage mysql script accordingly