Removing dependency on OSX 'sips' command; removed unused code