removed platform_config and config_dir