Added a function to test if the file to patch exists in the current folder
Added a case statement to perform the right operations depending on the computer architecture (32 or 64 bits)