updated some errors in config files and init scripts