Add interval to config file