Add new config system
Add logging script