Features/export studies mica server

Replace by `if`