change gunicorn cwd to sites dir
fix migrate3to4