Fixed web -> python interaction