Renamed init and looks for config-files in a safer way.