Removed duplicate code relating to python executor