Minor typos,fixes

Fixed some small typos that would prevent the script from working properly
Fixed beautifulsoup import to use bs4 (is if installed by pip/easy_install)