fixed up ini file loading, works on windows but no daemon