updated for new configure process