move flask-images to init