Gentop now gives sensible output

Change-Id: I81e34487a3acc2bf49ecb78c21397c7ecf8f00c4