make sure img is created and updated init to use gunicorn.