fix relay pin assignments. remove debug statements.