Fix shell_out to interpolate the command into the %x{} 

shell_out does %w{str} where _str_ is the concatenated applescript command as a String. 

Without string interpolation it trys to run a shell command called _str_ which fails.

Now it works as expected- tested with RSpec and also by using it in a few automation scripts