separate file no longer needed, controlled by config.json
utils.wait in loops to avoid hogging CPU