first cut at a conflict checking script