Added translation capability to scripts.