added optocouplers and screw terminals for ssr's