Use appropriate python call in production server