Trying to set relay up in code