support for expanding shell_command