Update distribution_rest.py