updated bot with addition of pages tracking now