Weird lines just to test CMD payloads work if the issues because of PATH not being preserved are solved.... still digging what is the best way to do it. The -E flag, which looked like the easiest, hasn't effect on my installation btw.