Add loose-end-finding script
Improve cache proto child behavior