add text type to scripts