moved python flags section to top