Add a git pull and a db upgrade at the start.