Added ability to use open relay