change flask extension import