Big fix after testing in a live environment.
There are a lot of debug messages added, they should be removed on the next commit.
Installation can go to the end now \o/