Flask startup