This could be so much better
Some more config options