Change the way that sandboxes are handled in manage.py