replaced SIGUSR1 with command line; replaced python wrapper with plain sh