Version 1.10: Make script more I/O efficient