Fixed config parsing for first build