improve config files and init scripts