Added switch -r for infinte looping the signal