Trying to fix flask stuff