move save new pages to the last step

so anything goes wrong you can still run the script again and get  those
new pages you didn't view yet