change sql scritp and styles