Woops, didn't need to use Flask...was being thick for a second.