Changing mach header and image file path retrieval process.