Christoph Gritschenberger:
	- bump toc to 50001
	- make Code work on 5.0.4
