Modified how the install scripts check if a file exists already