Rudimentary flask adaptations added.