Removed redundant page read and use of findall, cleaned up script