lettuce and flask integration messing around