Adding support for large scripts