Make this method a bit neater and remove unnessasary comments
Attempt to fix config file syntax again
It would help if I actually remembered semicolons