Spaced script

backticks does not handle paths with spaces properly, changed to $()