Flexible relay solution simplifies safety