Added change to Flask server, path fixes