Upgraded twitter version and added logging to file