change flask to 0.9 for aws