Add custom pages update TODO and fix some lib scripts