Changed to allow commandline delaytime, input topic and output topic