tweaks to testing and optimization with bin files