now uses a config file to help run as script.