Adds USR1 signal catch and var for method to call