converting scripts