Fix shell_out to interpolate the command into the %x{} - otherwise it failes trying to execute the command 'str'