simplified translate script