updated configure script