Updating beautiful soup script. works A OK now.