Splitted the config script