Make signing conditional