define configure method when coconut is included