Fixed bug in OGDscript

Now can run on previous encodings