decompression and packages handling