Managing signals

Signed-off-by: Carlo Caione <carlo@caione.org>
Added opts

Signed-off-by: Carlo Caione <carlo@caione.org>