Add management command utility function to deployment.

Calling python for manage.py was inconsistent.