Why don't you use econf?