removed request_api from distribution, updated arguments for distribution.py