Optimize for improved script reading