adding logging and regenerating the site