Fixes conf files and api