adding mem_check_interval_seconds to config and command line