Fix order of includes
Make gz file paths in the beginning of loading procedures