Small fixes to the generator. Twitter works