Using sudo when calling SetRelay due to errors with UNIX rights