Adding run_interval and log_level parameters

Change-Id: Idfd94da75ee38fbad1030cc8e4bf423f14515764