Forgot to clean a debug thing, now cronjob only generates new file when there is new commits.
Ended up not using the content namespace
Added some comments to the code