Replace hardcoded python executable with sys.executable