Sample period can now be set in config.json