fixed python execution