updated to show new usage with config file