updated configure to include self