Fixed wrong argument order. Added option to include Table of Contents, defaults to true.