Add db migrate to cap deploy.
DEFAULT_HOME envirnonment variable seems to have gone. Hardcode a particular directory.
Updating batch status on the reports screen.