OSX script doesn't seem to like using ~ to indicate your homedir