pull out prompt and config file writer