config should be passed in as a flag