Fixed flask form, a lot of extra stuff that needs to be removed.