merge configs and add matrix_based option