spawn with config file