Unbreak --profile=text for CLI scrips