adding flask