Improved IO path and fixed config