Fix order of loaded files